package com.dykj.fireFighting.web.controller.GB26875Controller;

import com.dykj.fireFighting.web.service.ManufactorService;
import org.quickserver.net.GB268753QN.sendClient;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.scheduling.annotation.Scheduled;
import org.springframework.stereotype.Component;

import java.text.SimpleDateFormat;
import java.util.Date;
import java.util.Map;

@Component
public class TimerController {
    @Autowired
    private ManufactorService manufactorService;

    //@Scheduled(cron = "0 0/1 * * * ?")
    public void execute() {
        SimpleDateFormat sdf=new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
        System.out.println(sdf.format(new Date()));
        Map<String,Object> map=new sendClient().QNSendSsbMnl("34EAE7242E5F");
        System.out.println(map);
    }
}
